環境架設經驗分享(For Mac 使用者:實習生大大 禕仁)
首先進入到junyiacademy資料夾,先嘗試跑dev_appserver:
dev_appserver.py --datastore_path={path}/work_resource/datastore2.db --host=:: --admin_host=:: local_dispatch.yaml local_app.yaml {path}/junyicontentservice/app.yaml -A junyiacademy --enable_host_checking=false --enable_console
Error:
如果遇到“Crypto error”,嘗試
pip install pycrypto
- 如果一直出現Crypto error無法消除,則可以嘗試利用requirements.txt 在junyiacademy資料夾中
pip install -r requirements.txt
- 如果遇到error: "setup.py egg_info"
pip install setuptools_scm
pip install ipython
- numpy error
sudo pip install --upgrade --ignore-installed --install-option '--install-data=/usr/local' numpy